package com.esiran.payadmin.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.util.Date;

@TableName("menu")
public class Menu {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("title")
    private String title;
    @TableField("mark")
    private String mark;
    @TableField("type")
    private Long type;
    @TableField("icon")
    private String icon;
    @TableField("router")
    private String router;
    @TableField("parentId")
    private Long parentId;
    @TableField("sorts")
    private Long sorts;
    @TableField("cTime")
    private java.util.Date cTime;


    public Long getId() {
      return id;
    }

    public void setId(Long id) {
      this.id = id;
    }


    public String getTitle() {
      return title;
    }

    public void setTitle(String title) {
      this.title = title;
    }


    public String getMark() {
      return mark;
    }

    public void setMark(String mark) {
      this.mark = mark;
    }


    public Long getType() {
      return type;
    }

    public void setType(Long type) {
      this.type = type;
    }


    public String getIcon() {
      return icon;
    }

    public void setIcon(String icon) {
      this.icon = icon;
    }


    public String getRouter() {
      return router;
    }

    public void setRouter(String router) {
      this.router = router;
    }


    public Long getParentId() {
      return parentId;
    }

    public void setParentId(Long parentId) {
      this.parentId = parentId;
    }


    public Long getSorts() {
      return sorts;
    }

    public void setSorts(Long sorts) {
      this.sorts = sorts;
    }


    public java.util.Date getCTime() {
      return cTime;
    }

    public void setCTime(java.util.Date cTime) {
      this.cTime = cTime;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }
}
